package wowraidmanager.server.service.auction;

import java.util.ArrayList;

import org.slim3.datastore.Datastore;

import wowraidmanager.client.service.auction.CheckItemListService;
import wowraidmanager.server.meta.auction.CheckItemListMeta;
import wowraidmanager.shared.model.auction.CheckItemList;

public class CheckItemListServiceImpl implements CheckItemListService {

    CheckItemListMeta query = CheckItemListMeta.get();

    public ArrayList<CheckItemList> getCheckItemList(){
        return (ArrayList<CheckItemList>)Datastore.query(query).sort(query.itemId.asc).asList();
    }

    public void setCheckItemList(ArrayList<CheckItemList> checkItemListList){
        Datastore.put(checkItemListList);
    }
}
